﻿@model Huirui.Cavan.Presentation.ViewModel.SystemModule.IIndustryTypeViewModel
@{
    var selectIndustryTypeWindow = "selectIndustryTypeWindow" + Model.Purpose;
    var IndustryTypeTableid = "IndustryType" + Model.Purpose;
}
<div id="@selectIndustryTypeWindow" class="easyui-window" data-options="closed:true,minimizable:false,maximizable:false,collapsible:false,title:'@Html.Raw("添加所属行业")',modal:true" style="width: 400px; height:200px; padding: 2px;">
    @using (Html.BeginForm(ActionConst.ADD, ControllerConst.INDUSTRYTYPE, FormMethod.Post, new { id = "selectIndustryType" + Model.Purpose }))
    {
        <div class="tool_bar">
            <input id="industrytype_save" type="submit" style="display: none;" />
            <a href="#" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-save'" onclick="javascript:$('#industrytype_save').click()">保存</a>
        </div>
        <table class="form_heard">
            <tr>
                <td class="c100">
                    <label>行业名称(中文):</label>
                </td>
                <td class="c160">
                    @Html.TextBoxFor(m => m.Item.ChinesName, new { id = "industryType_ChineseName" })
                </td>
            </tr>
               <tr>
                <td class="c100">
                    <label>行业名称(英文):</label>
                </td>
                <td class="c160">
                    @Html.TextBoxFor(m => m.Item.EnglishName, new { id = "industryType_EnglishName" })
                </td>
            </tr>
        </table>   
    }
      <table  id="@IndustryTypeTableid"></table>
</div>
